/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ac.za.cput.client;

import ac.za.cput.payroll.Impl.PayrollImpl;
import ac.za.cput.payroll.Payroll;


/**
 *
 * @author Enkosi
 */
public class PayrollApp {
  public static void main(String []args){
      Payroll payroll = new PayrollImpl();
      System.out.println("The monthly salary is: R" + payroll.calcMonthlySal(5, 3));
      System.out.println(String.format("The taxed amount is: R%.2f", payroll.calcTax(6000, 0.10)));
  }
}
